obj
	door
		Door
			icon = 'door.dmi'
			icon_state = "door"
			density = 1
			opacity = 1
			layer = 2
			Click()
				density = 0
				opacity = 0
				icon_state = "door open"
				sleep(30)
				density = 1
				opacity = 1
				icon_state = "door"